<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新闻首页</title>
</head>
<body>
    <h1>文章列表</h1>
    <table width="400" border="1" cellspacing="0">
        <tr>
            <th>编号</th>
            <th>标题</th>
            <th>发表时间</th>
            <th>来源</th>
        </tr>
        {% for item in news %}
        <tr>
            <td>{{ item.id }}</td>
            <td>{{ item.title }}</td>
            <td>{{ item.ctime }}</td>
            <td>{{ item.origin }}</td>
        </tr>
        {% endfor %}
    </table>
</body>
</html>